#!/usr/bin/env python

import wx

import widget.statusBar as esb

from __statusBar import Gauge

class StatusBar(esb.EnhancedStatusBar):
    '''StatuBar class
    
    @author Julot <andy.julot@gmail.com>
    @since Friday, March 23, 2012. 10:25 AM'''
    
    def __init__(self, parent):
        super(StatusBar, self).__init__(parent)
        self.gauge = Gauge(self)
    
    def setStatusTextAfter(self, message, index=0):
        wx.CallAfter(self.SetStatusText, message, index)